package com.williamoneil.charts.client;

import java.util.Date;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.williamoneil.charts.shared.ChartResponse;
import com.williamoneil.charts.shared.PeriodicityType;
import com.williamoneil.charts.shared.SymbolResponse;

/**
 * The async counterpart of <code>ChartService</code>.
 */
public interface ChartServiceAsync {
	void getSymbol(String symbol, AsyncCallback<SymbolResponse> callback);
	
	void getChartData(String symbol, PeriodicityType periodicity, int numNodes, Date endDt, AsyncCallback<ChartResponse> callback);
}
